package com.chinasofti.dao;

import com.chinasofti.model.Admin;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * Creator: <br>
 * Date: <br>
 * Description: <br>
 */
@Repository
public interface AdminRepository extends JpaRepository<Admin, Long>{

    Admin findByUsername(String name);

}
